package com.alipay.lifeaccount.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 生活号详情

 * </p>
 *
 * @author 进击的Coder
 * @since 2019-01-12
 */
@TableName("ali_life_info")
public class LifeInfo extends Model<LifeInfo> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 生活号名字
     */
	@TableField("app_name")
	private String appName;
    /**
     * 生活号头像地址
     */
	@TableField("logo_url")
	private String logoUrl;
    /**
     * 欢迎语
     */
	@TableField("public_greeting")
	private String publicGreeting;
    /**
     * 最新审核状态
     */
	@TableField("audit_status")
	private String auditStatus;
    /**
     * 最新审核状态描述
     */
	@TableField("audit_desc")
	private String auditDesc;
    /**
     * 生活号是否上线
     */
	@TableField("is_online")
	private String isOnline;
    /**
     * 生活好是否商家
     */
	@TableField("is_release")
	private String isRelease;
    /**
     * 生活号简介
     */
	private String introduction;
    /**
     * 背景图片地址
     */
	@TableField("background_url")
	private String backgroundUrl;
    /**
     * 商家经营类目
     */
	@TableField("mcc_code_desc")
	private String mccCodeDesc;


	public Integer getId() {
		return id;
	}

	public LifeInfo setId(Integer id) {
		this.id = id;
		return this;
	}

	public String getAppName() {
		return appName;
	}

	public LifeInfo setAppName(String appName) {
		this.appName = appName;
		return this;
	}

	public String getLogoUrl() {
		return logoUrl;
	}

	public LifeInfo setLogoUrl(String logoUrl) {
		this.logoUrl = logoUrl;
		return this;
	}

	public String getPublicGreeting() {
		return publicGreeting;
	}

	public LifeInfo setPublicGreeting(String publicGreeting) {
		this.publicGreeting = publicGreeting;
		return this;
	}

	public String getAuditStatus() {
		return auditStatus;
	}

	public LifeInfo setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
		return this;
	}

	public String getAuditDesc() {
		return auditDesc;
	}

	public LifeInfo setAuditDesc(String auditDesc) {
		this.auditDesc = auditDesc;
		return this;
	}

	public String getIsOnline() {
		return isOnline;
	}

	public LifeInfo setIsOnline(String isOnline) {
		this.isOnline = isOnline;
		return this;
	}

	public String getIsRelease() {
		return isRelease;
	}

	public LifeInfo setIsRelease(String isRelease) {
		this.isRelease = isRelease;
		return this;
	}

	public String getIntroduction() {
		return introduction;
	}

	public LifeInfo setIntroduction(String introduction) {
		this.introduction = introduction;
		return this;
	}

	public String getBackgroundUrl() {
		return backgroundUrl;
	}

	public LifeInfo setBackgroundUrl(String backgroundUrl) {
		this.backgroundUrl = backgroundUrl;
		return this;
	}

	public String getMccCodeDesc() {
		return mccCodeDesc;
	}

	public LifeInfo setMccCodeDesc(String mccCodeDesc) {
		this.mccCodeDesc = mccCodeDesc;
		return this;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
